/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simplemetrosystem.view.action;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import simplemetrosystem.view.MetroFrame;

/**
 *
 * @author Eric Qian
 */
public class NewFileActionListener implements ActionListener{
    public NewFileActionListener(MetroFrame frame){
        this.frame = frame;
    }
    
    public void actionPerformed(ActionEvent e) {
        System.out.println("New Action");
        frame.newMap();
    }
    private MetroFrame frame;
}
